package com.ruoyi.project.system.newfunction.domain;

import com.ruoyi.framework.web.domain.BaseEntity;
import io.swagger.models.auth.In;


import java.util.Objects;


public class Exam_cost extends BaseEntity {
    private Integer examId;
    private String examName;
    private String examKey;
    private Double examOnePrice;
    private Double examCost;
    private String examUnit;
    private Integer examType;
    private Integer status;

    public Exam_cost() {
    }

    public Exam_cost(Integer examId, String examName, String examKey, Double examOnePrice, Double examCost, String examUnit, Integer examType, Integer status) {
        this.examId = examId;
        this.examName = examName;
        this.examKey = examKey;
        this.examOnePrice = examOnePrice;
        this.examCost = examCost;
        this.examUnit = examUnit;
        this.examType = examType;
        this.status = status;
    }

    public Integer getExamId() {
        return examId;
    }

    public void setExamId(Integer examId) {
        this.examId = examId;
    }

    public String getExamName() {
        return examName;
    }

    public void setExamName(String examName) {
        this.examName = examName;
    }

    public String getExamKey() {
        return examKey;
    }

    public void setExamKey(String examKey) {
        this.examKey = examKey;
    }

    public Double getExamOnePrice() {
        return examOnePrice;
    }

    public void setExamOnePrice(Double examOnePrice) {
        this.examOnePrice = examOnePrice;
    }

    public Double getExamCost() {
        return examCost;
    }

    public void setExamCost(Double examCost) {
        this.examCost = examCost;
    }

    public String getExamUnit() {
        return examUnit;
    }

    public void setExamUnit(String examUnit) {
        this.examUnit = examUnit;
    }

    public Integer getExamType() {
        return examType;
    }

    public void setExamType(Integer examType) {
        this.examType = examType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Exam_cost exam_cost = (Exam_cost) o;
        return Objects.equals(examId, exam_cost.examId) &&
                Objects.equals(examName, exam_cost.examName) &&
                Objects.equals(examKey, exam_cost.examKey) &&
                Objects.equals(examOnePrice, exam_cost.examOnePrice) &&
                Objects.equals(examCost, exam_cost.examCost) &&
                Objects.equals(examUnit, exam_cost.examUnit) &&
                Objects.equals(examType, exam_cost.examType) &&
                Objects.equals(status, exam_cost.status);
    }

    @Override
    public int hashCode() {
        return Objects.hash(examId, examName, examKey, examOnePrice, examCost, examUnit, examType, status);
    }

    @Override
    public String toString() {
        return "Exam_cost{" +
                "examId=" + examId +
                ", examName='" + examName + '\'' +
                ", examKey='" + examKey + '\'' +
                ", examOnePrice=" + examOnePrice +
                ", examCost=" + examCost +
                ", examUnit='" + examUnit + '\'' +
                ", examType=" + examType +
                ", status=" + status +
                '}';
    }
}
